#include "Bid.h"

void Bid::showBid(){
	cout << "Bidder - name: " << bidder.getName() <<endl;
	cout << "Date it was placed: "; date.displayDate(); cout <<endl;
	cout << "Value of the bid: " << value << endl;
	cout << "----------------------------------------------------------------"<<endl;
	item.showItem();
	cout << "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"<< endl;
}

void Bid::operator=(Bid b) {
	this->setBidder(b.getBidder());
	this->setDate(b.getDate());
	this->setItem(b.getItem());
	this->setValue(b.getValue());
}
